#include <stdio.h>
int main()
{
    int n, num, min;
    scanf("%d%d", &n, &min);
    for(int i = 1; i < n; i++)
    {
        scanf("%d", &num);
        if(min > num) min = num;
    }
    printf("min = %d", min);
    return 0;
}